package com.fzd.code.auth.token;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("auth-token-constants")
@Data
public class Constants {

    @Value("${auth.token.userIdKey}")
    private String userIdKey;

    @Value("${auth.token.expireHours}")
    private int expireHours;

    @Value("${auth.token.tokenKey}")
    private String tokenKey;

}
